package com.song.entity.bo;

import com.song.enums.TransTypeEnum;

import java.math.BigDecimal;

/**
 * @program: IntelliJ IDEA
 * @ClassName: TransFlowBO
 * @description:交易流水逻辑对象
 * @author: Song
 * @create: 2025-01-20 19 : 02
 * @version: 1.0
 **/

public class TransFlowBO {
    private String agentBillNo;//商户充值订单号
    private BigDecimal amount;//账户的可用余额
    private String bindCode;//绑定
    private TransTypeEnum transTypeEnum;//绑定协议号
    private String memo;//备忘

    public TransFlowBO(String agentBillNo, BigDecimal amount, String bindCode, TransTypeEnum transTypeEnum, String memo) {
        this.agentBillNo = agentBillNo;
        this.amount = amount;
        this.bindCode = bindCode;
        this.transTypeEnum = transTypeEnum;
        this.memo = memo;
    }

    public TransFlowBO() {
    }

    public String getAgentBillNo() {
        return agentBillNo;
    }

    public void setAgentBillNo(String agentBillNo) {
        this.agentBillNo = agentBillNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getBindCode() {
        return bindCode;
    }

    public void setBindCode(String bindCode) {
        this.bindCode = bindCode;
    }

    public TransTypeEnum getTransTypeEnum() {
        return transTypeEnum;
    }

    public void setTransTypeEnum(TransTypeEnum transTypeEnum) {
        this.transTypeEnum = transTypeEnum;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Override
    public String toString() {
        return "TransFlowBO{" +
                "agentBillNo='" + agentBillNo + '\'' +
                ", amount=" + amount +
                ", bindCode='" + bindCode + '\'' +
                ", transTypeEnum=" + transTypeEnum +
                ", memo='" + memo + '\'' +
                '}';
    }
}
